<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
    content="width=device-width, initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalabe=no">
    <title>红河学院疫情防控信息上报</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/common.css">
</head>

<body>
    <div class="bac">
        <h3>红河学院疫情系统</h3>
        <p>今日情况上报</p>
    </div>
    <div class="bac-wrap">
        <div class="icon"></div>
        <h3>已完成今日情况上报</h3>
        <p>谢谢您的配合</p>
    </div>
    <section>
        <div class="date_text">
            <ul>
                <li>
                    <span>姓名：</span>
                    <span>张啟昌</span>
                </li>
                <li>
                    <span>
                        <div>上报日</div>
                        <div>期：</div>
                    </span>
                    <span id="dat"></span>
                </li>
                <li>
                    <span>
                        <div>今日是否</div>
                        <div>在蒙自：</div>
                    </span>
                    <span>是</span>
                </li>
                <li>
                    <span>
                        <div>今日活</div>
                        <div>动：</div>
                    </span>
                    <span>今日一直在校内</span>
                </li>
                <li>
                    <span>
                        <div>健康状</div>
                        <div>况：</div>
                    </span>
                    <span>健康</span>
                </li>
                <li>
                    <span>
                        <div>症状表</div>
                        <div>现：</div>
                    </span>
                    <span>无</span>
                </li>
                <li>
                    <span>
                        <div>其他线</div>
                        <div>索：</div>
                    </span>
                    <span>无</span>
                </li>
            </ul>
        </div>
    </section>
    <footer class="footer">
        <a href="index.html">
            <img src="images/icon1.png" alt="">
            <span>本日上报</span>
        </a>
        <a href="https://news.sina.cn/zt_d/yiqing0121?vt=4">
            <img src="images/icon2.png" alt="">
            <span>实时疫情</span>
        </a><a href="tongji.html">
            <img src="images/icon3.png" alt="">
            <span>管理统计</span>
        </a><a href="ruxiao.html">
            <img src="images/icon4.png" alt="">
            <span>入校凭证</span>
        </a>
    </footer>
    <script src="js/flexible.js"></script>
    <script>
         onload = function () {
            requestAnimationFrame(gettime)
        }

        function gettime() {
            setTimeout(function () {
                requestAnimationFrame(gettime)
            }, 1000 / 2)
            var d = new Date();
            var year = d.getFullYear()  //获取年
            var month = d.getMonth() + 1;  //获取月，从 Date 对象返回月份 (0 ~ 11)，故在此处+1
            var day = d.getDay()    //获取日
            var days = d.getDate() //获取日期
          
            if (month < 10) month = "0" + month
            if (days < 10) days = "0" + days
           


            var Tools = document.getElementById("dat")
            var da = year + "-" + month + "-" + days 
            Tools.innerHTML = da
        }

       
    </script>
</body>

</html>